package com.test.entity;

import java.io.Serializable;

/**
 * 任务(TaskInfo)实体类
 *
 * @author makejava
 * @since 2022-11-12 11:01:48
 */
public class TaskInfo implements Serializable {
    private static final long serialVersionUID = -21921804192926315L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 任务名
     */
    private String taskName;
    /**
     * 任务描述
     */
    private String taskIntro;
    /**
     * 任务工期
     */
    private String timeLimit;
    /**
     * 员工ID
     */
    private Integer staffId;
    /**
     * 发布领导
     */
    private Integer leaderId;
    /**
     * 发布时间
     */
    private String createTime;

    /**
     * 员工姓名
     * @return
     */
    private String staffIdStr;
    /**
     * 领导姓名
     */
    private String leaderIdStr;

    public String getLeaderIdStr() {
        return leaderIdStr;
    }

    public void setLeaderIdStr(String leaderIdStr) {
        this.leaderIdStr = leaderIdStr;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getStaffIdStr() {
        return staffIdStr;
    }

    public void setStaffIdStr(String staffIdStr) {
        this.staffIdStr = staffIdStr;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskIntro() {
        return taskIntro;
    }

    public void setTaskIntro(String taskIntro) {
        this.taskIntro = taskIntro;
    }

    public String getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(String timeLimit) {
        this.timeLimit = timeLimit;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public Integer getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(Integer leaderId) {
        this.leaderId = leaderId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }


    @Override
    public String toString() {
        return "TaskInfo{" +
                "id=" + id +
                ", taskName='" + taskName + '\'' +
                ", taskIntro='" + taskIntro + '\'' +
                ", timeLimit='" + timeLimit + '\'' +
                ", staffId=" + staffId +
                ", leaderId=" + leaderId +
                ", createTime='" + createTime + '\'' +
                ", staffIdStr='" + staffIdStr + '\'' +
                ", leaderIdStr='" + leaderIdStr + '\'' +
                '}';
    }
}

